package com.zxx.mvpPractice.presenter.contract;

import com.zxx.mvpPractice.base.BasePresenter;
import com.zxx.mvpPractice.base.BaseView;

/**
 * Created by Administrator on 2016/12/17.
 */
public interface MissPwdFragmentContract {


    interface View extends BaseView<Presenter> {

        void showProgressDialog();

        void hideProgressDialog();

        void showMessage(String text);

    }

    interface Presenter extends BasePresenter {

        /**
         * 注册
         *
         * @param username
         * @param password1
         * @param password2
         * @param smsCode
         */
        void bombUserUpdate(String username, String password1, String password2, String smsCode);

        void bombRequestSms(String phoneNumber);//请求发送验证码

        void verifySms();//校验验证码
    }
}
